package edu.hebeu.entity;

import java.io.Serializable;

/**
 * 这个类用来处理响应是 code 和 msg 的请求
 */
public class CodeAndMsgResponse implements Serializable {
    private static final long serialVersionUID = 6541841793276446153L;

    private int code;
    private String msg;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    @Override
    public String toString() {
        return "CodeAndMsgResponse{" +
                "code=" + code +
                ", msg='" + msg + '\'' +
                '}';
    }
}
